﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SaunaClient.Model.Network
{
    /// <summary>
    /// FTP Gateway Interface
    /// </summary>
    /// <dates>
    /// 01/09/2011 - created by Chiaki Sato
    /// </dates>
    public interface IFtpDaoGateway
    {
        /// <summary>
        /// Upload a file
        /// </summary>
        /// <param name="localDirectory">Local directory</param>
        /// <param name="localFileName">File name</param>
        void Upload(string localDirectory, string localFileName, string serverDirectory);

        /// <summary>
        /// Download a file
        /// </summary>
        /// <param name="serverDirectory">Server directory</param>
        /// <param name="serverFileName">Server file name</param>
        /// <param name="localDirectory">Local directory</param>
        void Download(string serverDirectory, string serverFileName, string localDirectory);

        /// <summary>
        /// Get server flie list
        /// </summary>
        /// <param name="serverDirectory">Server directory</param>
        String GetServerFileList(string serverDirectory);

    }
}
